<!DOCTYPE html>
	<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>AES JavaScript+PHP test harness (client-side encrypt)</title>
		<script src="./js/aes.js">/* AES JavaScript implementation */</script>
		<script src="./js/aes-ctr.js">/* AES Counter Mode implementation */</script>
		<script src="./js/base64.js">/* Base64 encoding */</script>
		<script src="./js/utf8.js">/* UTF-8 encoding */</script>
		<script src="/js/jquery.min.js"></script>
		<script src="/js/mtl.js">/* MTL utils */</script>
		<script src="/js/prettify.js">/* google-code-prettify */</script>
	</head>
	<body>
		<!-- encrypt the message before submitting the form -->
		<!--L0ck it up saf3-->
		<form name="frm" id="frm" method="post" action="aes-js-php.php" 
		      onsubmit="frm.message.value = Aes.Ctr.encrypt(frm.message.value, 'k.vasuthep16', 256);">
		  <p>Message: <input type="text" name="message" id="message" size="40" value=""></p>
		  <p><input type="submit" value="Encrypt it:"></p>
		</form>
	</body>
</html>